package top.ochiamalu.aioj.oauth;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * oauth回调处理程序
 *
 * @author ochiamalu
 * @date 2025/03/12
 */
public interface OAuthCallbackHandler {
    /**
     * 处理
     *
     * @param code     代码
     * @param response 响应
     * @throws IOException IOException
     */
    void handle(String code, HttpServletResponse response) throws IOException;
} 